﻿using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using JPW.OnlinePaperSubmissionSystem.Auditing.Dto;
using JPW.OnlinePaperSubmissionSystem.Dto;
using JPW.OnlinePaperSubmissionSystem.Project.Dto;
using Kendo.DynamicLinq;
using System.Collections.Generic;

namespace JPW.OnlinePaperSubmissionSystem.Project
{
    public interface IInstructionsAppService : IApplicationService
    {
        DataSourceResult KendoGetInstructionss(DataSourceRequest input);

        ListResultOutput<InstructionsListDto> GetInstructionss(GetInstructionsInput input);

        Task<ListResultOutput<InstructionsListDto>> GetInstructionssAsync();

        Task DeleteInstructions(IdInput input);

        Task CreateOrUpdateInstructions(CreateOrUpdateInstructionsInput input);

        Task CreateInstructionsAsync(CreateOrUpdateInstructionsInput input);

        Task UpdateInstructionsAsync(CreateOrUpdateInstructionsInput input);

        Task<GetInstructionsForEditOutput> GetInstructionsForEdit(NullableIdInput input);

        //List<Files> getFiles(IdInput input);
        ListResultOutput<FilesListDto> getFiles(IdInput input);
        DataSourceResult KendoGetInstructionsById(DataSourceRequest input);
        Task DeleteFiled(IdInput input);
    }
}